package com.example.demo.service.impl;

import com.example.demo.domain.Brand;
import com.example.demo.service.BrandService;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2017/11/2 0002.
 */
@Service
public class BrandServiceImpl extends BaseServiceImpl<Brand> implements BrandService {

    public Brand saveOrUpdateBrand(Brand brand) {
        this.saveOrUpdate(brand);
        return brand;
    }
}
